package com.mapKeyVal.key;

public class StatBoxOpeBnkWoKey {
	private String prd_stat;
	private String ope_id;
	private String box_id;
	private String bnk_flg;
	private String wo_id;
	
	public StatBoxOpeBnkWoKey(String prd_stat, String ope_id, String box_id, String bnk_flg,
			String wo_id) {
		super();
		this.prd_stat = prd_stat;
		this.ope_id = ope_id;
		this.box_id = box_id;
		this.bnk_flg = bnk_flg;
		this.wo_id = wo_id;
	}
	@Override
	public int hashCode() {
		final int prime = 31;
		int result = 1;
		result = prime * result + ((bnk_flg == null) ? 0 : bnk_flg.hashCode());
		result = prime * result + ((box_id == null) ? 0 : box_id.hashCode());
		result = prime * result + ((ope_id == null) ? 0 : ope_id.hashCode());
		result = prime * result + ((prd_stat == null) ? 0 : prd_stat.hashCode());
		result = prime * result + ((wo_id == null) ? 0 : wo_id.hashCode());
		return result;
	}
	@Override
	public boolean equals(Object obj) {
		if (this == obj)
			return true;
		if (obj == null)
			return false;
		if (getClass() != obj.getClass())
			return false;
		StatBoxOpeBnkWoKey other = (StatBoxOpeBnkWoKey) obj;
		if (bnk_flg == null) {
			if (other.bnk_flg != null)
				return false;
		} else if (!bnk_flg.equals(other.bnk_flg))
			return false;
		if (box_id == null) {
			if (other.box_id != null)
				return false;
		} else if (!box_id.equals(other.box_id))
			return false;
		if (ope_id == null) {
			if (other.ope_id != null)
				return false;
		} else if (!ope_id.equals(other.ope_id))
			return false;
		if (prd_stat == null) {
			if (other.prd_stat != null)
				return false;
		} else if (!prd_stat.equals(other.prd_stat))
			return false;
		if (wo_id == null) {
			if (other.wo_id != null)
				return false;
		} else if (!wo_id.equals(other.wo_id))
			return false;
		return true;
	}
	public String getPrd_stat() {
		return prd_stat;
	}
	public void setPrd_stat(String prd_stat) {
		this.prd_stat = prd_stat;
	}
	public String getOpe_id() {
		return ope_id;
	}
	public void setOpe_id(String ope_id) {
		this.ope_id = ope_id;
	}
	public String getBox_id() {
		return box_id;
	}
	public void setBox_id(String box_id) {
		this.box_id = box_id;
	}
	public String getBnk_flg() {
		return bnk_flg;
	}
	public void setBnk_flg(String bnk_flg) {
		this.bnk_flg = bnk_flg;
	}
	public String getWo_id() {
		return wo_id;
	}
	public void setWo_id(String wo_id) {
		this.wo_id = wo_id;
	}
	@Override
	public String toString() {
		return "StatBoxOpeBnkWoKey [prd_stat=" + prd_stat + ", ope_id=" + ope_id + ", box_id=" + box_id + ", bnk_flg="
				+ bnk_flg + ", wo_id=" + wo_id + "]";
	}
	
}
